package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电力系统线路对象 mech_power_line
 * 
 * @author ruoyi
 * @date 2024-10-24
 */
public class MechPowerLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 线路编号 */
    @Excel(name = "线路编号")
    private String lineNumber;

    /** 始节点 */
    @Excel(name = "始节点")
    private String startNode;

    /** 末节点 */
    @Excel(name = "末节点")
    private String endNode;

    /** 电阻 */
    @Excel(name = "电阻")
    private String resi;

    /** 电抗 */
    @Excel(name = "电抗")
    private String reac;

    /** 电纳 */
    @Excel(name = "电纳")
    private String susc;

    /** 线路说明 */
    @Excel(name = "线路说明")
    private String lineDesc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setLineNumber(String lineNumber) 
    {
        this.lineNumber = lineNumber;
    }

    public String getLineNumber() 
    {
        return lineNumber;
    }

    public void setStartNode(String startNode) 
    {
        this.startNode = startNode;
    }

    public String getStartNode() 
    {
        return startNode;
    }

    public void setEndNode(String endNode) 
    {
        this.endNode = endNode;
    }

    public String getEndNode() 
    {
        return endNode;
    }

    public void setResi(String resi) 
    {
        this.resi = resi;
    }

    public String getResi() 
    {
        return resi;
    }

    public void setReac(String reac) 
    {
        this.reac = reac;
    }

    public String getReac() 
    {
        return reac;
    }

    public void setSusc(String susc) 
    {
        this.susc = susc;
    }

    public String getSusc() 
    {
        return susc;
    }

    public void setLineDesc(String lineDesc) 
    {
        this.lineDesc = lineDesc;
    }

    public String getLineDesc() 
    {
        return lineDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lineNumber", getLineNumber())
            .append("startNode", getStartNode())
            .append("endNode", getEndNode())
            .append("resi", getResi())
            .append("reac", getReac())
            .append("susc", getSusc())
            .append("lineDesc", getLineDesc())
            .toString();
    }
}
